<!-- Veljko Jovanovic -->	
<?php
    include("konekcija_sa_bazom.php");


    mysql_query("SET NAMES utf8");

    $idKor = $_GET['id'];

    $upit="SELECT * FROM korisnik WHERE idKorisnik = '$idKor'";

    mysql_query($upit);

    $rez = mysql_query($upit);
    $red = mysql_fetch_array($rez);
    $idTip = $red['kategorija'];

    
    if ($idTip == 'P')
    {
        include('ProfilKorisnika.php');
    }
    else
    {
        include('ProfilProdavnice.php');
    }
?>
